<?php
/**
 * The main template file.
 *
 * This is  template file in a Tadin.co.il
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 * Learn more: http://tadin.co.li
 *
 * @package WordPress
 * @subpackage Tadin.co.il
 * @since Tadin.co.il 1.0
 */
?>

<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
	<div id="title-page">
		<?php if (!is_front_page()) :?>
		<h2><?php the_title();?></h2>
		<?php endif;?>
	</div>
	<div id="main-content">
		<?php the_content();?>
	</div>
<?php endwhile; // end of the loop. ?>
